<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<body>
<div th:fragment="css">
    <link rel="stylesheet" type="text/css" th:href="@{/venders/layui-1.0.9/css/layui.css}" media="all">
    <link rel="stylesheet" type="text/css" th:href="@{/venders/layui-1.0.9/global.css}" media="all">
    <link rel="stylesheet" type="text/css" th:href="@{/venders/layui-1.0.9/style.css}" media="all">
</div>
<div th:fragment="script">
    <script th:src="@{/venders/jquery/jquery.min.2.1.4.js}"></script>
    <script th:src="@{/venders/layui-1.0.9/layui.js}"></script>
    <script th:src="@{/venders/vue.js}"></script>
    <script th:src="@{/venders/vue-resource-1.3.4.js}"></script>
    <script th:src="@{/lib/base64.js}"></script>
    <script>
          Vue.http.options.root = '';
          Vue.http.options.emulateJSON = true;
          Vue.http.interceptors.push(function(request, next) {
            //modify headers
            request.headers.set('XAuthorization', 'Bearer ' + keter.getToken());
            next();
          });
    </script>
    <script th:src="@{/lib/keter-common.js}"></script>
</div>
</body>
</html>